package top.whysu.rongcloud.dto.rongcloud;

public class FriendShipResultEntity implements Comparable {

    public FriendShipResultEntity(String displayName, String message, int status, String updatedAt, UserEntity user) {
        this.displayName = displayName;
        this.message = message;
        this.status = status;
        this.updatedAt = updatedAt;
        this.user = user;
    }

    public FriendShipResultEntity() {

    }

    private String displayName;
    private String message;
    private int status;
    private String updatedAt;
    /**
     * id : i3gRfA1ml
     * nickname : nihaoa
     * portraitUri :
     */

    private UserEntity user;

    public void setDisplayName(String displayName) {
        this.displayName = displayName;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public void setUpdatedAt(String updatedAt) {
        this.updatedAt = updatedAt;
    }

    public void setUser(UserEntity user) {
        this.user = user;
    }

    public String getDisplayName() {
        return displayName;
    }

    public String getMessage() {
        return message;
    }

    public int getStatus() {
        return status;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }

    public UserEntity getUser() {
        return user;
    }

    @Override
    public int compareTo(Object another) {
        return 0;
    }

    public static class UserEntity {
        private String id;
        private String nickname;
        private String portraitUri;

        public void setId(String id) {
            this.id = id;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public void setPortraitUri(String portraitUri) {
            this.portraitUri = portraitUri;
        }

        public String getId() {
            return id;
        }

        public String getNickname() {
            return nickname;
        }

        public String getPortraitUri() {
            return portraitUri;
        }
    }
}